<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>异常消息</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-
scale=1, user-scalable=no">
    <link rel="stylesheet" type="text/css" href="../css/common.css" />
    <link rel="stylesheet" type="text/css" href="../css/y_index.css" />
    <style>

    </style>
</head>

<body>
    <div class="listBox">
        <div class="main_list">
            <div class="p20 bw bdb">
                <li class="col0 font16">消息</li>
                <li class="col9 mt20">设备编号：52213254878</li>
                <li class="col9 mt20">地址：广东省东莞市南城区高盛科技大厦</li>
                <li class="col9 mt20">设备缺货，请及时补货</li>
                <li class="col9 mt20">20178-06-06 12:23:58</li>
            </div>
            <div class="p20 bw bdb">
                <li class="col0 font16">消息</li>
                <li class="col9 mt20">设备编号：52213254878</li>
                <li class="col9 mt20">地址：广东省东莞市南城区高盛科技大厦</li>
                <li class="col9 mt20">设备缺货，请及时补货</li>
                <li class="col9 mt20">20178-06-06 12:23:58</li>
            </div>
            <div class="p20 bw bdb">
                <li class="col0 font16">消息</li>
                <li class="col9 mt20">设备编号：52213254878</li>
                <li class="col9 mt20">地址：广东省东莞市南城区高盛科技大厦</li>
                <li class="col9 mt20">设备缺货，请及时补货</li>
                <li class="col9 mt20">20178-06-06 12:23:58</li>
            </div>
            <div class="p20 bw bdb">
                <li class="col0 font16">消息</li>
                <li class="col9 mt20">设备编号：52213254878</li>
                <li class="col9 mt20">地址：广东省东莞市南城区高盛科技大厦</li>
                <li class="col9 mt20">设备缺货，请及时补货</li>
                <li class="col9 mt20">20178-06-06 12:23:58</li>
            </div>
            <div class="p20 bw bdb">
                <li class="col0 font16">消息</li>
                <li class="col9 mt20">设备编号：52213254878</li>
                <li class="col9 mt20">地址：广东省东莞市南城区高盛科技大厦</li>
                <li class="col9 mt20">设备缺货，请及时补货</li>
                <li class="col9 mt20">20178-06-06 12:23:58</li>
            </div>
            <div class="p20 bw bdb">
                <li class="col0 font16">消息</li>
                <li class="col9 mt20">设备编号：52213254878</li>
                <li class="col9 mt20">地址：广东省东莞市南城区高盛科技大厦</li>
                <li class="col9 mt20">设备缺货，请及时补货</li>
                <li class="col9 mt20">20178-06-06 12:23:58</li>
            </div>
            <div class="p20 bw bdb">
                <li class="col0 font16">消息</li>
                <li class="col9 mt20">设备编号：52213254878</li>
                <li class="col9 mt20">地址：广东省东莞市南城区高盛科技大厦</li>
                <li class="col9 mt20">设备缺货，请及时补货</li>
                <li class="col9 mt20">20178-06-06 12:23:58</li>
            </div>
            <div class="p20 bw bdb">
                <li class="col0 font16">消息</li>
                <li class="col9 mt20">设备编号：52213254878</li>
                <li class="col9 mt20">地址：广东省东莞市南城区高盛科技大厦</li>
                <li class="col9 mt20">设备缺货，请及时补货</li>
                <li class="col9 mt20">20178-06-06 12:23:58</li>
            </div>
            <div class="p20 bw bdb">
                <li class="col0 font16">消息</li>
                <li class="col9 mt20">设备编号：52213254878</li>
                <li class="col9 mt20">地址：广东省东莞市南城区高盛科技大厦</li>
                <li class="col9 mt20">设备缺货，请及时补货</li>
                <li class="col9 mt20">20178-06-06 12:23:58</li>
            </div>
            <div class="p20 bw bdb">
                <li class="col0 font16">消息</li>
                <li class="col9 mt20">设备编号：52213254878</li>
                <li class="col9 mt20">地址：广东省东莞市南城区高盛科技大厦</li>
                <li class="col9 mt20">设备缺货，请及时补货</li>
                <li class="col9 mt20">20178-06-06 12:23:58</li>
            </div>
        </div>
    </div>
</body>

</html>
<script src="../js/jquery-1.8.3.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/dlc.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/swiper.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/dr" type="text/javascript" charset="utf-8"></script>
<script src="https://gw.alipayobjects.com/as/g/h5-lib/alipayjsapi/3.1.0/alipayjsapi.inc.min.js"></script>
<!--公司的常用函数封装-->
<script type="text/javascript">
var page = 0,
    size = 10;

$('.ListBox').dropload({
    scrollArea: window,
    domDown: {
        domClass: 'dropload-up',
        domRefresh: '<div class="dropload-refresh">↓下拉刷新</div>',
        domUpdate: '<div class="dropload-update">↑释放更新</div>',
        domLoad: '<div class="dropload-load">○加载中...</div>'
    },
    domDown: {
        domClass: 'dropload-down',
        domRefresh: '<div class="dropload-refresh">↑上拉加载更多</div>',
        domLoad: '<div class="dropload-load"><span class="loadings"></span>加载中...</div>',
        domNoData: '<div class="dropload-noData">暂无数据</div>'
    },
    loadDownFn: function(me) {
        page++;
        var str = '';
        $.ajax({
            type: 'post',
            url: dlcUrl() + "/api/vip/api",
            data: { api_name: 'myScore', openid: user_token(), page: page, pagesize: size },
            async: false,
            dataType: 'json',
            success: function(res) {
                console.log(res);
                var a = res.data.score_list;
                $('.my_score').text(res.data.my_score == null ? '0' : res.data.my_score);
                if (res.code == 1 && a.length > 0) {
                    for (i in a) {
                        str += '<div class="p20 bw bdb"> <li class="col0 font16">消息</li> <li class="col9 mt20">设备编号：52213254878</li> <li class="col9 mt20">地址：广东省东莞市南城区高盛科技大厦</li> <li class="col9 mt20">设备缺货，请及时补货</li> <li class="col9 mt20">20178-06-06 12:23:58</li> </div>';
                    }
                } else {
                    me.lock();
                    me.noData();
                    console.log(res.msg);
                }
                setTimeout(function() {
                    $('.main_list').append(str);
                    me.resetload(); // 每次数据插入，必须重置
                }, 1000);



            },
            error: function(err) {
                me.resetload();
                console.log(JSON.stringify(err));
            }
        })
    }
})
</script>